package com.cov.web.bean;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.io.Serializable;

public class TotalBeanXX implements Serializable {
    /**
     * nowConfirm : 235706
     * confirm : 272235
     * dead : 5136
     * showRate : false
     * heal : 31393
     * showHeal : true
     * wzz : 0
     * provinceLocalConfirm : 0
     */

    /* 现存确诊人数 */
    private int nowConfirm;
    /* 累计确诊人数 */
    private int confirm;
    /* 死亡人数 */
    private int dead;
    private boolean showRate;
    /* 治愈人数 */
    private int heal;
    private boolean showHeal;
    private int wzz;
    private int provinceLocalConfirm;


    public int getNowConfirm() {
        return nowConfirm;
    }

    public void setNowConfirm(int nowConfirm) {
        this.nowConfirm = nowConfirm;
    }

    public int getConfirm() {
        return confirm;
    }

    public void setConfirm(int confirm) {
        this.confirm = confirm;
    }

    public int getDead() {
        return dead;
    }

    public void setDead(int dead) {
        this.dead = dead;
    }

    public boolean isShowRate() {
        return showRate;
    }

    public void setShowRate(boolean showRate) {
        this.showRate = showRate;
    }

    public int getHeal() {
        return heal;
    }

    public void setHeal(int heal) {
        this.heal = heal;
    }

    public boolean isShowHeal() {
        return showHeal;
    }

    public void setShowHeal(boolean showHeal) {
        this.showHeal = showHeal;
    }

    public int getWzz() {
        return wzz;
    }

    public void setWzz(int wzz) {
        this.wzz = wzz;
    }

    public int getProvinceLocalConfirm() {
        return provinceLocalConfirm;
    }

    public void setProvinceLocalConfirm(int provinceLocalConfirm) {
        this.provinceLocalConfirm = provinceLocalConfirm;
    }

    public TotalBeanXX() {
        super();
    }

    public TotalBeanXX(int nowConfirm, int confirm, int dead, boolean showRate, int heal, boolean showHeal, int wzz, int provinceLocalConfirm) {
        this.nowConfirm = nowConfirm;
        this.confirm = confirm;
        this.dead = dead;
        this.showRate = showRate;
        this.heal = heal;
        this.showHeal = showHeal;
        this.wzz = wzz;
        this.provinceLocalConfirm = provinceLocalConfirm;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("nowConfirm", getNowConfirm())
                .append("confirm", getConfirm())
                .append("dead", getDead())
                .append("showRate", isShowRate())
                .append("heal", getHeal())
                .append("showHeal", isShowHeal())
                .append("wzz", getWzz())
                .append("provinceLocalConfirm", getProvinceLocalConfirm())
                .toString();
    }
}
